package com.gxkj.projects.myshopx.services;

import com.gxkj.common.exceptions.ValidateException;
import com.gxkj.common.utils.ListPager;
import com.gxkj.projects.myshopx.entitys.GoodType;
import com.gxkj.projects.myshopx.entitys.User;


public interface GoodsTypeService {

    public void doDeleteGoodType(User adminUser, String id);

    public ListPager<GoodType> doPageHQL(int pagenNo, int pageSize, GoodType entity);

    public void doAddGoodType(User user , GoodType entity) throws ValidateException;

    public void doUpdateGoodType(User user , GoodType entity) throws ValidateException;

    public GoodType getById(String id);

    public void doEnabledGoodType(User user , String id) throws ValidateException;

    public void doDisEnabledGoodType(User user , String id) throws ValidateException;
}
